<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>审计系统 - 创建内部控制测试</title>
		<link
			rel="stylesheet"
			href="{{ url_for('static', filename='css/style.css') }}"
		/>
	</head>
	<body>
		<div class="container">
			<!-- <div class="header-nav">
            <a href="{{ url_for('index') }}" class="btn btn-back">← 返回项目列表</a>
            <h1>创建内部控制测试</h1>
        </div> -->
			<div class="card">
				<a href="#" class="btn btn-back" onclick="history.back(); return false;"
					>返回</a
				>
				<h2>创建内部控制测试</h2>
				{% if error %}
				<div class="error">{{ error }}</div>
				{% endif %}
				<form
					action="{{ url_for('create_internal_control_test', project_id=project_id) }}"
					method="post"
				>
					<div class="form-group">
						<label for="test_type">测试类型</label>
						<input type="text" id="test_type" name="test_type" required />
					</div>
					<div class="form-group">
						<label for="description">测试描述</label>
						<textarea id="description" name="description" required></textarea>
					</div>
					<div class="form-group">
						<label for="result">测试结果</label>
						<textarea id="result" name="result"></textarea>
					</div>
					<button type="submit" class="btn">创建测试</button>
				</form>
			</div>
		</div>
	</body>
</html>
